package com.douyang.dto;

import com.douyang.model.SeckKill;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.time.LocalDateTime;


@Data
public class SeckKillDTO{
    private Long id;
    @NotNull
    private String name;
    @NotNull
    private String title;
    @NotNull
    private Double price;
    @NotNull
    private Integer stock;
    @NotNull
    private Integer validity;
    @NotNull
    private LocalDateTime startTime;
    @NotNull
    private LocalDateTime endTime;
}
